<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style>
			div{
				position: relative;
				width: 400px;
				height: 300px;
			}
			div:hover:before{
				content: "钓鱼岛是中国的";
				color: red;
				text-align: center;
				font-size: 26px;
				width: 100%;
				height: 100%;
				position: absolute;
				display: block;
				top: 0px;
				left: 0px;
				border:40px solid black;
				-webkit-border-image: url(img/china.png) 50 50 round;
				box-sizing: border-box;
				cursor: pointer;
			}
		</style>
	</head>
	<body>
		<div >
			<img src="img/fish.jpg" width="400px" height="300px"/>
		</div>
		
	</body>
</html>
